//
//  NewFoodViewController.h
//  FoodFamily
//
//  Created by dlios on 15-6-20.
//  Copyright (c) 2015年 guoBang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewFoodCollectionViewCell.h"
#import "NewFoodDetailViewController.h"
#import "UserDetailViewController.h"
#import "NewFoodCollectionViewCell.h"
#import <MJRefresh.h>
#import <MBProgressHUD.h>
#import "RestaruantsNearbyViewController.h"

@protocol NewViewDelegate <NSObject>

-(void)BringPicButton;
-(void)BringUserButton;

@end


@interface NewFoodViewController : UIViewController<UICollectionViewDataSource,UICollectionViewDelegate,NewFoodDelegate>

@property(nonatomic,retain)NSMutableArray *array;
@property(nonatomic,retain)UICollectionView *collectV;
@property(nonatomic,retain)NewFoodCollectionViewCell *cell;

@property(nonatomic,assign)long nextPage;
@property(nonatomic,retain)MBProgressHUD  *MBHUD;
@property(nonatomic,assign)BOOL downUpdata;

@property(nonatomic,assign)id<NewViewDelegate>MyDelegate;


-(void)reloadValue;

@end
